package com.xuanyang.dormrepair.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @AUTHOR soft
 * @DATE 2019/5/19 12:15
 * @DESCRIBE
 */
@Getter
@AllArgsConstructor
public enum MaintainerStatus {

    DISABLED("离职", 1),
    ENABLE("在岗", 2);

    @JsonValue
    private String name;
    @EnumValue
    private Integer code;
}
